﻿using B.S.DataBase.MyProject.ErrorCode;
using MediatR;
using Microsoft.AspNet.SignalR;
using SqlSugar;

namespace MedicalPCTerminal.Write.API.Appcation.Commands.HealthMonitoringCommand
{
    /// <summary>
    /// 添加血糖数据
    /// </summary>
    public class AddBloodSugarCommand : IRequest<APIResult<int>>
    {
        public int SId { get; set; }
        /// <summary>
        /// 患者编号
        /// </summary>
        public int UserId { get; set; }
        /// <summary>
        /// 患者名称
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 餐前血糖
        /// </summary>
        public decimal FastingBloodGlucose { get; set; }
        /// <summary>
        /// 测试时间
        /// </summary>
        public DateTime FastingTime { get; set; }
        /// <summary>
        /// 餐后血糖
        /// </summary>
        public decimal PostprandialBloodGlucose { get; set; }
        /// <summary>
        /// 测试时间
        /// </summary>
        public DateTime PostprandialTime { get; set; }
    }
}
